import React from 'react'
const baseUrl = '/user/api/b'
//会员注册
export async function apiGetMemberChart(params) {
    return await React.$post('/admin/memberInfo/getMemberRegisterChart', params);
}
//门店入驻
export async function apiGetStoreChart(params) {
    return await React.$post('/admin/storeInfo/getStoreRegisterChart', params);
}
//订单数量
export async function apiGetOrderNumChart(params) {
    return await React.$post('/admin/order/getOrderRegisterChart', params);
}
//订单金额
export async function apiGetOrderMoneyChart(params) {
    return await React.$post('/admin/order/getOrderPriceRegisterChart', params);
}
//平台收入
export async function apiGetIncomeChart(params) {
    return await React.$post('/admin/order/getPlatformIncomeRegisterChart', params);
}
//线上收入
export async function apiGetShopIncomeChart(params) {
    return await React.$post("/admin/order/getShopIncomeRegisterChart", params)
}
//线下收入
export async function apiGetOfflineIncomeChart(params) {
    return await React.$post("/admin/order/getOffLineIncomeRegisterChart", params)
}

//付款时段
export async function apiGetOrderPayTimeChart(params) {
    return await React.$post("/admin/order/getOrderPayTimeChart", params)
}
//哈哈豆页面列表
export async function apiGetuserintegralRecord(params) {
    return await React.$postJson(baseUrl + "/integralRecord/page", params,)
}
//哈哈豆页面条目类型列表
export async function apiGetuserintegralentryTypeList(params) {
    return await React.$get(baseUrl + "/integralRecord/entryTypeList", params,)
}
//哈哈豆页面条目类型列表
export async function apiGetuserintegralentryexport(params) {
    return await React.$postJson(baseUrl + "/integralRecord/export", params,)
}